    <?php get_header(); ?>
    <!-- Begin Wrapper -->
    <div id="wrapper">
        <?php include (TEMPLATEPATH . '/sidebar.php'); ?>
        <!-- Begin Content -->
        <div id="content">
        	
            <?php if (have_posts()) : ?>
            <?php while (have_posts()) : the_post(); ?>
            <div class="home-post" id="post-<?php the_ID(); ?>">             
				
						<?php include(TEMPLATEPATH."/thumbnail.php"); ?>				
				
                <h1 class="permalink"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>                
                <div class="meta">Posted by <?php the_author_posts_link(); ?> on <?php the_time('M d, Y'); ?><br /><?php edit_post_link('Edit', '', ''); ?></div>
				<div class="clear"></div>
				
				<?php the_content(''); ?>	
				<div class="readmore"><a href="<?php the_permalink() ?>">read more...</a></div>
                <!-- close entry -->                
            </div>
            <!-- close post -->
            <?php endwhile; ?>
			
            <?php else : ?>
            <h2 class="center">Not Found</h2>
            <p class="center">
                Sorry, but you are looking for something that isn't here.
            </p>            
            <?php endif; ?>
        </div>
        <!-- End Content -->
    </div>
    <!-- End Wrapper -->
    <?php get_footer(); ?>
